package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author NJUPT wly
 * @Date 2021/9/25 1:17 上午
 * @Version 1.0
 */
@Data
@ApiModel(value = "商品订单子项")
public class OrderItemRequest {

    @JsonProperty("product_id")
    @ApiModelProperty(value = "商品id",example = "1")
    private long productId;

    @JsonProperty("buy_num")
    @ApiModelProperty(value = "购买数量",example = "1")
    private int buyNum;

}